//
//  JZChargeHomeHeaderView.m
//  JFTwxsd
//
//  Created by Peter on 2018/4/10.
//  Copyright © 2018年 junfeiweiyejiaoyujituan. All rights reserved.
//

#import "JZChargeHomeHeaderView.h"

@interface JZChargeHomeHeaderView () <UITextFieldDelegate>

///头部图片
@property (weak, nonatomic) IBOutlet UIImageView *headIconImg;
///头部文字
@property (weak, nonatomic) IBOutlet UILabel *headTitleLab;

@end

@implementation JZChargeHomeHeaderView

- (void)awakeFromNib {
    [super awakeFromNib];
}

- (void)initHeaderView:(NSIndexPath *)idxPth {
    if (idxPth.section == 0) {
        _headIconImg.image = [UIImage imageNamed:@"charge_phoneCount"];
        _headTitleLab.text = @"充话费";
    } else {
        _headIconImg.image = [UIImage imageNamed:@"charge_flow"];
        _headTitleLab.text = @"充流量";
    }
}

@end
